﻿using System;
using System.Linq;
using System.Text;

namespace _RobotInspection.Entities
{
    ///<summary>
    ///异常处理记录表
    ///</summary>
    public partial class abnormal_records
    {
           public abnormal_records(){

            this.handle_status =Convert.ToByte("0");
            this.created_at =DateTime.Now;
            this.updated_at =DateTime.Now;

           }
           /// <summary>
           /// Desc:异常记录ID
           /// Default:
           /// Nullable:False
           /// </summary>           
           public long id {get;set;}

           /// <summary>
           /// Desc:点检记录ID
           /// Default:
           /// Nullable:False
           /// </summary>           
           public long record_id {get;set;}

           /// <summary>
           /// Desc:处理人ID
           /// Default:
           /// Nullable:True
           /// </summary>           
           public long? handler_id {get;set;}

           /// <summary>
           /// Desc:处理描述
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string handle_description {get;set;}

           /// <summary>
           /// Desc:处理状态：0-待处理，1-处理中，2-已完成
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public byte? handle_status {get;set;}

           /// <summary>
           /// Desc:处理时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? handle_time {get;set;}

           /// <summary>
           /// Desc:创建时间
           /// Default:CURRENT_TIMESTAMP
           /// Nullable:True
           /// </summary>           
           public DateTime? created_at {get;set;}

           /// <summary>
           /// Desc:更新时间
           /// Default:CURRENT_TIMESTAMP
           /// Nullable:True
           /// </summary>           
           public DateTime? updated_at {get;set;}

    }
}
